package com.yunxi.finance.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.util.StringUtils;

/**
 * <p>
 * 金融产品计算器计算
 * </p>
 *
 * @author XUQI
 * @since 2019-12-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "FinanceProductCalculateVO", description = "金融产品计算器计算VO")
public class FinanceProductCalculateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "车辆价格")
    private BigDecimal carPrice;

    @ApiModelProperty(value = "选装包价格")
    private BigDecimal packagePrice;

    @ApiModelProperty(value = "金融机构")
    private String financeInstitution;

    @ApiModelProperty(value = "计算方式 1:利率 2:费率")
    private Integer calculation;

    @ApiModelProperty(value = "利率值/费率值")
    private BigDecimal ratio;

    @ApiModelProperty(value = "一次性手续费A")
    private BigDecimal oneTimePriceA;

    @ApiModelProperty(value = "一次性手续费B")
    private BigDecimal oneTimePriceB;

    @ApiModelProperty(value = "首付比例")
    private BigDecimal downPaymentRatio;

    @ApiModelProperty(value = "保证金比例")
    private BigDecimal bailRatio;

    @ApiModelProperty(value = "期限")
    private Integer deadline;

    @ApiModelProperty(value = "1:显示尾款比例 2:显示尾款金额")
    private Integer balanceShow;

    @ApiModelProperty(value = "尾款比例")
    private BigDecimal balanceRatio;

    @ApiModelProperty(value = "尾款金额")
    private BigDecimal balanceAmount;

    @ApiModelProperty(value = "校验值")
    private BigDecimal checkValue;

    @ApiModelProperty(value = "1:显示贴息比例 2:显示贴息金额")
    private Integer discountShow;

    @ApiModelProperty(value = "贴息比例")
    private BigDecimal discountRatio;

    @ApiModelProperty(value = "贴息金额")
    private BigDecimal discountAmount;
}
